﻿using System;
using System.Collections.Generic;
using System.Text;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using KelonProud.Administration.Domain.Organizations;

namespace KelonProud.Administration.Dtos
{
    [AutoMap(typeof(KelonProudOrganizationUnit))]
    public class OrganzationInput:EntityDto<long>
    {
        public string Code { get; set; }

        public string DisplayName { get; set; }

        public  string Icon { get; set; }

        public  long? ParentId { get; set; }

        public int? TenantId { get; set; }

        public OrganizationType OrganizationType { get; set; }
    }

    [AutoMap(typeof(KelonProudOrganizationUnit))]
    public class OrganzationOutput : OrganzationInput
    {
        public string ParentName { get; set; }
    }
}
